package com.lanqiao.service.impl;

import com.lanqiao.dao.ShufflingDao;
import com.lanqiao.dao.impl.ShufflingImpl;
import com.lanqiao.entity.Shufflinginfo;
import com.lanqiao.service.ShufflingService;

import java.util.List;

public class ShufflingSerImpl implements ShufflingService {

    private ShufflingDao shuffling = new ShufflingImpl();

    @Override
    public List<Shufflinginfo> selectshufflingpic() {
        return shuffling.selectshufflingpic();
    }

    @Override
    public int addshuffling(String  ad_img,int book_id) {
        int addshuffling = shuffling.addshuffling(ad_img,book_id);


        return addshuffling;
    }
}
